Plot styling using plot_pandas_GUI()

You can try this notebook live by lauching it in Binder.This can take a while to launch, be patient. Binder.

First we import pandas and pandas_GUI, and load some data. In this case we will load two time dependent Laser Induced Fluorescence (LIF) data sets.

Default plot of the two data sets

This is the plot made in the step-by-step example.

Figure 1: This should display a live plotly plot that can be zoomed and show point values upon hovering. If you do not see a live plot the notebook is not running or trusted. Click on the 'Not Trusted' button in the Jupyter menu bar to trust the notebook.

Plot styling options

The plot styling options impact font, background, framing and color choices.

An image of the plot styling section (Tab 3) is shown below.

Plot styling on tab 3

The options available are a subset of all the plotly options. If you want slightly different format options you can edit the code created by the GUI and run it again.

The plots below illustrate the available plot styling options.

Default plot styling (simple_white)

No mirroring of axes or tick marks

Figure 2: Example of the default styling.

Mirror axes with ticks

Figure 3: Example of mirroring axes with tick marks.

ggplot2

Figure 4: Example of ggplot2 styling.

seaborn

Figure 5: Example of seaborn styling.

plotly

Figure 6: Example of plotly styling.

plotly_white

Figure 7: Example of plotly_white styling.

plotly_dark

Figure 8: Example of plotly_dark styling.

presentation

Figure 9: Example of presentation styling.

xgridoff

Figure 10: Example of xgridoff styling.

ygridoff

Figure 11: Example of ygridoff styling.

gridon

Figure 12: Example of gridon styling. Since it is not combined with another style it looks just like plotly_white.

simple_white+presentation

Figure 13: Example of simple_white+presentation styling.

simple_white+gridon

Figure 14: Example of simple_white+gridon styling. This is essentially the same as plotly_white.

simple_white+presentation+gridon

Figure 15: Example of simple_white+presentation+gridon styling.

Learn More

In addition to trying it below if this is a live notebook, you can look at the other examples listed in the Pandas GUI website.

Try It

If you are running this notebook live in binder you can try it here by running the first cell to import the tools and data. Then run the cell below to create the GUI. Note: You may want to expand the collapsed instructions to learn more about each tab.